package org.project.d.starter.network.annotation;

import org.project.d.network.msg.serializer.DeSerialized;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author lin
 * @version V1.0
 * @description
 * @date 2020/8/3 5:02 下午
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface HandlerMapping {

    short value();

    Class<? extends DeSerialized> deSerializa() default DeSerialized.class;
}
